import mock from 'mockjs'

const { list } = mock.mock({
    'list|100': [{
        "title": "@ctitle(5,10)",
        "image": "@image(100x100,@color)",
        "id": "@id",
        "price|1-100": 1,
    }]
})

mock.mock('/list', list)